<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
   
Calendrier:

<link rel="stylesheet" href="<c:url value="/resources/datepicker/css/datepicker.css" />">
<script src="<c:url value="/resources/datepicker/js/bootstrap-datepicker.js"/>"></script>
<script type="text/javascript">
<!--
	$(document).ready(function(){
		$("#debut").datepicker({
			"format" : "dd/mm/yyyy"
		});
		$("#fin").datepicker({
			"format" : "dd/mm/yyyy"
		});
	});
//-->
</script>

<form:form modelAttribute="tmpCalendrier" role="form" action="base.creation.etape2" method="post" cssStyle="form-horizontal">
	
	<div class="form-group">
		<label for="debut" class="col-sm-2 control-label">Début: </label>
		<div class="col-sm-2">
			<form:input id="debut" path="debut" placeholder="Début" required="true" class="form-control" value="${tmpCalendrier.debut}"/>
		</div>
	</div>
	
	<div class="form-group">
		<label for="fin" class="col-sm-2 control-label">Fin: </label>
		<div class="col-sm-2">
			<form:input id="fin" path="fin" placeholder="Fin" required="true" class="form-control" value="${tmpCalendrier.fin}"/>
		</div>
	</div>
	
	<form:button type="submit" class="btn btn-primary btn-md">CONTINUER</form:button>
	
</form:form>